package week_1.practice;

public class EmptyCollectionException extends RuntimeException
    {
        /**
         * Sets up this exception with an appropriate message.
         * @param collection the name of the collection
         */
        public EmptyCollectionException(String collection)
        {
            super("The " + collection + " is empty.");
        }
    }
